package com.wing.cabinet.model.request;

import com.wing.cabinet.model.entity.CabinetCargoSpace;
import com.wing.cabinet.model.entity.UseInventoryInout;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.util.List;

/**
 * 售刀柜领取/暂存柜上/暂存/维修/回收Form
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class UseInventoryInoutForm {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * 存/取刀任务编号
     */
    private String code;

    /**
     * 售刀柜领取/暂存柜上/暂存/维修/回收业务id
     */
    private Long businessId;

    /**
     * 操作类型
     */
    private UseInventoryInout.Type type;

    /**
     * 状态:
     */
    private UseInventoryInout.Status status;

    /**
     * no
     */
    private Integer no;

    /**
     * day
     */
    private Integer day;


    public interface Add{}

    public interface Update{}

    private List<UseInventoryInoutDetailForm> detailList;

    private List<UseInventoryInoutDetailForm> storageDetailList;

    private List<CellInventoryInoutDetailForm> cellDetailList;

    private String deviceCode;

    private UseInventoryInout.BusinessType businessType;

    private String labelCode;

    private Long storageInventoryInoutId;


    private Long workOrderId;

    private CabinetCargoSpace.SpaceType spaceType;

    /**
     * 企业编码
     */
    private String enterpriseCode;

    private Integer useTime;

    private BigDecimal total;

    private CabinetCargoSpace.SpaceNature storageType;

    private Long processId;

    private String remark;

    private String roleName;

    private String departmentName;

    private Long categoryId;
    private String costCenter;

    private String uuid;

    /**
     *  主柜编号
     */
    private String mainCabCode;
}
